<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="d" uri="http://claudiushauptmann.com/jsp-decorator/"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<d:decorate filename='../shared/user-masterpage.jsp'>
    <d:content placeholder='title'>Afeka Bid System :: Login</d:content>
    <d:content placeholder='body'>
        <form method="post">
            <c:if test="!${loginSucceed}">
                Login Failed
            </c:if>
            <table class="center wide" dir="ltr">
                <tr>
                    <td>UserName:</td>
                    <td><input type="text" name="username"/></td>
                </tr>
                <tr>
                    <td>Password:</td>
                    <td><input type="password" name="password"/></td>
                </tr>
                <tr>
                    <td colspan="2">
                        <input type="submit" value="Log In" />
                    </td>
                </tr>
            </table>
        </form>
    </d:content>
</d:decorate>